index.html.vue 88 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368
  1. <template>
  2. <div>
  3. <!-- 页面头部 -->
  4. <HomePageHead></HomePageHead>
  5. <!-- 页面导航 -->
  6. <HomePageNavigation></HomePageNavigation>
  7. <!-- 广告一 -->
  8. <HomeAdvertising :imgurl="adImg1"></HomeAdvertising>
  9. <!-- 二级导航列表 -->
  10. <div class="nav2top"></div>
  11. <div class="nav2">
  12. <ul class="inner">
  13. <li class="home">
  14. {{ title }}
  15. </li>
  16. <li class="titleList" v-for="(item, index) in pageData" :key="index">
  17. <NuxtLink :href="getLinkPath(item)" :title="item.alias">
  18. <span class="nav2_title">{{ item.alias }}</span>
  19. </NuxtLink>
  20. </li>
  21. </ul>
  22. </div>
  23. <div class="nav2btm"></div>
  24. <!-- 第一层 -->
  25. <!-- 第一部分 -->
  26. <div class="part1">
  27. <div class="inner">
  28. <div class="part1_left" v-if="pageData[0]">
  29. <div class="part1_title">
  30. <h2 class="nav_part1_left">
  31. <NuxtLink :href="getLinkPath(pageData[0])" v-if="pageData[0]" :title="pageData[0].alias">
  32. {{ pageData[0].alias }}
  33. </NuxtLink>
  34. <em></em>
  35. </h2>
  36. </div>
  37. <div class="part1_content">
  38. <div class="context_left">
  39. <div class="top" v-for="(item, index) in pageData[0].data" :key="index">
  40. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  41. <img :src="item.imgurl" alt="item.title">
  42. <span class="title1">{{ item.title }}</span>
  43. </NuxtLink>
  44. </div>
  45. <div class="bottom">
  46. <div class="bottom_left" v-for="(item, index) in pageData[0].data1" :key="index">
  47. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  48. <img :src="item.imgurl" alt="item.title">
  49. <span class="title2">{{ item.title }}</span>
  50. </NuxtLink>
  51. </div>
  52. </div>
  53. </div>
  54. <div class="context_right">
  55. <ul class="rightContent">
  56. <li class="context1" v-for="(item, index) in pageData[0].data2" :key="index">
  57. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  58. {{ item.title }}
  59. </NuxtLink>
  60. </li>
  61. </ul>
  62. </div>
  63. </div>
  64. </div>
  65. <div class="part1_right" v-if="pageData[1]">
  66. <div class="part1_right_title">
  67. <h2 class="part1_right_title1_active">
  68. <NuxtLink :href="getLinkPath(pageData[1])" v-if="pageData[1]" :title="pageData[1].alias">
  69. {{ pageData[1].alias }}
  70. </NuxtLink>
  71. <em class="active_bg"></em>
  72. </h2>
  73. </div>
  74. <div class="part1_right_content">
  75. <div class="part1_right_top11">
  76. <div class="part1_right_content_top" v-for="(item, index) in pageData[1].data" :key="index">
  77. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  78. <img :src="item.imgurl" alt="item.title">
  79. <span class="content_top_title2">{{ item.title }}</span>
  80. </NuxtLink>
  81. </div>
  82. </div>
  83. <!-- <div class="part1_right_content_top" v-for="(item, index) in pageData[1].data" :key="index">
  84. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  85. <img :src="item.imgurl" alt="item.title">
  86. <span class="content_top_title2">{{ item.title }}</span>
  87. </NuxtLink>
  88. </div> -->
  89. <ul class="part1_right_content_bottom">
  90. <li class="content_bottom_list" v-for="(item, index) in pageData[1].data1" :key="index">
  91. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  92. {{ item.title }}
  93. </NuxtLink>
  94. </li>
  95. </ul>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. <!-- 第二部分 -->
  101. <div class="part2">
  102. <div class="inner">
  103. <div class="part2_left" v-if="pageData[2]">
  104. <div class="part2_title">
  105. <h2 class="nav_part2_left">
  106. <NuxtLink :href="getLinkPath(pageData[2])" v-if="pageData[2]" :title="pageData[2].alias">
  107. {{ pageData[2].alias }}
  108. </NuxtLink>
  109. <em></em>
  110. </h2>
  111. </div>
  112. <div class="part2_content">
  113. <div class="part2_content_left">
  114. <ul class="content_a">
  115. <li class="context111" v-for="(item, index) in pageData[2].data2" :key="index">
  116. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  117. {{ item.title }}
  118. </NuxtLink>
  119. </li>
  120. </ul>
  121. </div>
  122. <div class="part2_content_right">
  123. <div class="right_top" v-for="(item, index) in pageData[2].data" :key="index">
  124. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  125. <img :src="item.imgurl" alt="item.title">
  126. <span class="title11">{{ item.title }}</span>
  127. </NuxtLink>
  128. </div>
  129. <div class="right_bottom">
  130. <div class="bottom_left" v-for="(item, index) in pageData[2].data1" :key="index">
  131. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  132. <img :src="item.imgurl" alt="item.title">
  133. <span class="title22">{{ item.title }}</span>
  134. </NuxtLink>
  135. </div>
  136. </div>
  137. </div>
  138. </div>
  139. </div>
  140. <div class="part2_right" v-if="pageData[3]">
  141. <div class="part2_right_title">
  142. <h2 class="part2_right_title1_active">
  143. <NuxtLink :href="getLinkPath(pageData[3])" v-if="pageData[3]" :title="pageData[3].alias">
  144. {{ pageData[3].alias }}
  145. </NuxtLink>
  146. <em class="active_bg11"></em>
  147. </h2>
  148. </div>
  149. <div class="part2_right_content">
  150. <div class="part2_right_top11">
  151. <div class="part2_right_content_top" v-for="(item, index) in pageData[3].data" :key="index">
  152. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  153. <img :src="item.imgurl" alt="item.title">
  154. <span class="content_top_title22">{{ item.title }}</span>
  155. </NuxtLink>
  156. </div>
  157. </div>
  158. <ul class="part2_right_content_bottom">
  159. <li class="content_bottom_list" v-for="(item, index) in pageData[3].data2" :key="index">
  160. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  161. {{ item.title }}
  162. </NuxtLink>
  163. </li>
  164. </ul>
  165. </div>
  166. </div>
  167. </div>
  168. </div>
  169. <!-- 广告二 -->
  170. <HomeAdvertising :imgurl="adImg2"></HomeAdvertising>
  171. <!-- 第二层 -->
  172. <div class="part3" v-if="pageData[4]">
  173. <div class="inner">
  174. <div class="part3_left">
  175. <div class="part3_left_top" v-if="pageData[4]">
  176. <div class="part3_leftTitle">
  177. <h2 class="part3_left_title">
  178. <NuxtLink :href="getLinkPath(pageData[4])" v-if="pageData[4]"
  179. :title="pageData[4].alias">
  180. {{ pageData[4].alias }}
  181. </NuxtLink>
  182. <em></em>
  183. </h2>
  184. </div>
  185. <div class="part3_left_content" v-if="pageData[4]">
  186. <div class="part3_left_content_top">
  187. <div class="content_top_left">
  188. <div class="part3_photo_text" v-for="(item, index) in pageData[4].data"
  189. :key="index">
  190. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  191. <img :src="item.imgurl" alt="item.title">
  192. <span class="part3_text">{{ item.title }}</span>
  193. </NuxtLink>
  194. <span class="littleTips">精选</span>
  195. </div>
  196. <ul class="part3_content">
  197. <li class="part3_content_list" v-for="(item, index) in pageData[4].data1"
  198. :key="index">
  199. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  200. {{ item.title }}
  201. </NuxtLink>
  202. </li>
  203. </ul>
  204. </div>
  205. <ul class="content_top_right">
  206. <li class="content_right_list" v-for="(item, index) in pageData[4].data1"
  207. :key="index">
  208. <NuxtLink to="#">
  209. <div class="part3_time">
  210. <span class="month">{{ getTime(item.updated_at, 'day', 1) }}</span>
  211. <span class="xiegang">/</span>
  212. <span class="day">{{ getTime(item.updated_at, 'month', 1) }}</span>
  213. </div>
  214. <div class="time_left_content">
  215. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  216. {{ item.title }}
  217. </NuxtLink>
  218. </div>
  219. </NuxtLink>
  220. </li>
  221. </ul>
  222. </div>
  223. </div>
  224. </div>
  225. <div class="part3_left_bottom" v-if="pageData[5] || pageData[6]">
  226. <div class="part3_leftTitle1">
  227. <h2 class="part3_left_title" v-if="pageData[5]" @mouseenter="tabsData = 1"
  228. :class="{ part3_left_title_active: tabsData == 1 }">
  229. <NuxtLink :href="getLinkPath(pageData[5])" @mouseenter="tabsData = 1"
  230. :class="{ active: tabsData == 1 }" :title="pageData[5].alias">
  231. {{ pageData[5].alias }}
  232. </NuxtLink>
  233. <em></em>
  234. </h2>
  235. <h2 class="part3_left_title" v-if="pageData[6]" @mouseenter="tabsData = 2"
  236. :class="{ part3_left_title_active: tabsData == 2 }">
  237. <NuxtLink :href="getLinkPath(pageData[6])" v-if="pageData[6]" @mouseenter="tabsData = 2"
  238. :class="{ active: tabsData == 2 }" :title="pageData[6].alias">
  239. {{ pageData[6].alias }}
  240. </NuxtLink>
  241. <em></em>
  242. </h2>
  243. </div>
  244. <div class="part3_left_content1" v-if="tabsData == 1">
  245. <div class="content_bottom_left">
  246. <div class="content_top" v-for="(item, index) in pageData[5].data" :key="index">
  247. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  248. <img :src="item.imgurl" alt="item.title">
  249. <span class="part3_text">{{ item.title }}</span>
  250. </NuxtLink>
  251. </div>
  252. <div class="content_bottom">
  253. <div class="content_bottom_1" v-for="(item, index) in pageData[5].data1"
  254. :key="index">
  255. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  256. <img :src="item.imgurl" alt="item.title">
  257. <span class="part3_text">{{ item.title }}</span>
  258. </NuxtLink>
  259. </div>
  260. </div>
  261. </div>
  262. <div class="content_bottom_right">
  263. <ul class="bottom_content_1">
  264. <li class="bottom_content_list" v-for="(item, index) in pageData[5].data2"
  265. :key="index">
  266. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  267. {{ item.title }}
  268. </NuxtLink>
  269. </li>
  270. </ul>
  271. </div>
  272. </div>
  273. <div class="part3_left_content1" v-if="tabsData == 2 && pageData[6].alias">
  274. <div class="content_bottom_left">
  275. <div class="content_top" v-for="(item, index) in pageData[6].data" :key="index">
  276. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  277. <img :src="item.imgurl" alt="item.title">
  278. <span class="part3_text">{{ item.title }}</span>
  279. </NuxtLink>
  280. </div>
  281. <div class="content_bottom">
  282. <div class="content_bottom_1" v-for="(item, index) in pageData[6].data1"
  283. :key="index">
  284. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  285. <img :src="item.imgurl" alt="item.title">
  286. <span class="part3_text">{{ item.title }}</span>
  287. </NuxtLink>
  288. </div>
  289. </div>
  290. </div>
  291. <div class="content_bottom_right">
  292. <ul class="bottom_content_1">
  293. <li class="bottom_content_list" v-for="(item, index) in pageData[6].data2"
  294. :key="index">
  295. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  296. {{ item.title }}
  297. </NuxtLink>
  298. </li>
  299. </ul>
  300. </div>
  301. </div>
  302. </div>
  303. </div>
  304. <div class="part3_right" v-if="pageData[7]">
  305. <div class="part3_rightTitle">
  306. <h2 class="part3_right_title">
  307. <NuxtLink :href="getLinkPath(pageData[7])" v-if="pageData[7]" :title="pageData[7].alias">
  308. {{ pageData[7].alias }}
  309. </NuxtLink>
  310. <em></em>
  311. </h2>
  312. <div class="rightMore">
  313. <NuxtLink to="#">更多》</NuxtLink>
  314. </div>
  315. </div>
  316. <ul class="part3_right_content_top" v-if="pageData[7].data1.length > 0">
  317. <li class="part3_right_contentlist_top" v-for="(item, index) in pageData[7].data1" :key="index">
  318. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  319. <span class="numStyle">{{ index + 1 }}</span>
  320. {{ item.title }}
  321. </NuxtLink>
  322. </li>
  323. </ul>
  324. <div class="part3_photo_text_right" v-if="pageData[7].data[0]">
  325. <NuxtLink :href="getLinkPathDetail(pageData[7].data[0])" :title="pageData[7].data[0].title">
  326. <span class="part3_text11">{{ pageData[7].data[0].title }}</span>
  327. <img :src="pageData[7].data[0].imgurl" :alt="pageData[7].data[0].title">
  328. </NuxtLink>
  329. </div>
  330. <ul class="part3_right_content_11" v-if="pageData[7].data2.length > 0">
  331. <li class="part3_right_contentlist_11" v-for="(item, index) in pageData[7].data2" :key="index">
  332. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  333. {{ item.title }}
  334. </NuxtLink>
  335. </li>
  336. </ul>
  337. <div class="part3_photo_text_right" v-if="pageData[7].data[1]">
  338. <NuxtLink :href="getLinkPathDetail(pageData[7].data[1])" :title="pageData[7].data[1].title">
  339. <span class="part3_text11">{{ pageData[7].data[1].title }}</span>
  340. <img :src="pageData[7].data[1].imgurl" :alt="pageData[7].data[1].title">
  341. </NuxtLink>
  342. </div>
  343. <ul class="part3_right_content_11">
  344. <li class="part3_right_contentlist_11" v-for="(item, index) in pageData[7].data3" :key="index">
  345. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  346. {{ item.title }}
  347. </NuxtLink>
  348. </li>
  349. </ul>
  350. <div class="part3_photo_text_right" v-if="pageData[7].data[2]">
  351. <NuxtLink :href="getLinkPathDetail(pageData[7].data[2])" :title="pageData[7].data[2].title">
  352. <span class="part3_text11">{{ pageData[7].data[2].title }}</span>
  353. <img :src="pageData[7].data[2].imgurl" :alt="pageData[7].data[2].title">
  354. </NuxtLink>
  355. </div>
  356. <ul class="part3_right_content_11">
  357. <li class="part3_right_contentlist_11" v-for="(item, index) in pageData[7].data4" :key="index">
  358. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  359. {{ item.title }}
  360. </NuxtLink>
  361. </li>
  362. </ul>
  363. </div>
  364. </div>
  365. </div>
  366. <!-- 页脚部分 -->
  367. <HomeFoot1></HomeFoot1>
  368. </div>
  369. </template>
  370. <script setup>
  371. //0.加载页面依赖 start ---------------------------------------->
  372. import { ref, onMounted } from 'vue';
  373. //格式化跳转路径 - 标题
  374. //首页分类栏目标题,不需要考虑外链
  375. const getLinkPath = (item) => {
  376. // console.log('item111333',item)
  377. // return `/${item.url}/1.html`;
  378. // return `/newsList/${item.cid}?page=1`;
  379. return `/${item.aLIas_pinyin}/list-1.html`;
  380. }
  381. //首页跳转到详情,这里需要考虑外链
  382. const getLinkPathDetail = (item) => {
  383. // console.log('item111222', item)
  384. if (item.islink == 1) {
  385. return `${item.linkurl}`;
  386. } else {
  387. //return `/${item.aLIas_pinyin}/${item.id}`;
  388. // return `/newsDetail/${item.id}?page=1`
  389. return `/${item.pinyin}/${item.id}.html`;
  390. }
  391. }
  392. //0.加载页面依赖 end ---------------------------------------->
  393. //1.获得路由id start ---------------------------------------->
  394. const route = useRoute();
  395. //获得当前的完整路径
  396. const fullPath = route.path;
  397. //拆分,取出来中间这一段,然后提取数字部分
  398. const segments = fullPath.split('/');
  399. const targetSegment = segments[1];
  400. //let routeId = 11 //排除路径错误可以打开这个
  401. //const numberPart = targetSegment.match(/\d+$/)?.[0];
  402. //let routeId = numberPart;
  403. let routeId;
  404. //通过导航路径反向查询导航id
  405. const getRouteId = await requestDataPromise('/web/getWebsiteRoute', {
  406. method: 'GET',
  407. query: {
  408. 'pinyin': targetSegment,
  409. },
  410. });
  411. if (getRouteId.code == 200) {
  412. routeId = getRouteId.data.category_id
  413. } else {
  414. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  415. console.log("错误位置:通过url路径查询导航池id")
  416. console.log("后端错误反馈:", getRouteId.message)
  417. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  418. }
  419. //1.获得路由id end ---------------------------------------->
  420. //2.页面交互效果 start ---------------------------------------->
  421. //2.1
  422. const title = ref("")
  423. const tabsData = ref(1)
  424. async function getPageDataTitle() {
  425. const mkdata = await requestDataPromise('/web/getOneWebsiteCategory', {
  426. method: 'GET',
  427. query: {
  428. 'catid': routeId,
  429. },
  430. });
  431. if (mkdata.code == 200) {
  432. title.value = mkdata.data.alias;
  433. } else {
  434. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  435. console.log("错误位置:获取二级标题")
  436. console.log("后端错误反馈:", mkdata.message)
  437. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  438. }
  439. }
  440. getPageDataTitle();
  441. //2.1 新闻图片切换
  442. const hoverStatus = ref(0)
  443. const qhPic = function (num) {
  444. console.log(num)
  445. hoverStatus.value = num;
  446. }
  447. //2.2 选项卡切换
  448. let showTabs = ref(1)
  449. let qhtabs = function (number) {
  450. console.log(number)
  451. showTabs.value = number
  452. }
  453. //2.3 展示广告
  454. let adImg1 = ref({})
  455. let adImg2 = ref({})
  456. let adImg3 = ref({})
  457. let adImg4 = ref({})
  458. onMounted(async () => {
  459. //从客户端获取行政职能部门 加快打开速度
  460. const { $webUrl, $CwebUrl } = useNuxtApp();
  461. //广告1
  462. let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0001`
  463. const responseAd1 = await fetch(url, {
  464. headers: {
  465. 'Content-Type': 'application/json',
  466. 'Userurl': $CwebUrl,
  467. 'Origin': $CwebUrl
  468. }
  469. });
  470. const resultAd1 = await responseAd1.json();
  471. adImg1.value = resultAd1.data[0];
  472. //广告2
  473. let url2 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0002`
  474. const responseAd2 = await fetch(url2, {
  475. headers: {
  476. 'Content-Type': 'application/json',
  477. 'Userurl': $CwebUrl,
  478. 'Origin': $CwebUrl
  479. }
  480. });
  481. const resultAd2 = await responseAd2.json();
  482. adImg2.value = resultAd2.data[0];
  483. //广告3
  484. let url3 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0003`
  485. const responseAd3 = await fetch(url3, {
  486. headers: {
  487. 'Content-Type': 'application/json',
  488. 'Userurl': $CwebUrl,
  489. 'Origin': $CwebUrl
  490. }
  491. });
  492. const resultAd3 = await responseAd3.json();
  493. adImg3.value = resultAd3.data[0];
  494. //广告4
  495. let url4 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0004`
  496. const responseAd4 = await fetch(url4, {
  497. headers: {
  498. 'Content-Type': 'application/json',
  499. 'Userurl': $CwebUrl,
  500. 'Origin': $CwebUrl
  501. }
  502. });
  503. const resultAd4 = await responseAd4.json();
  504. adImg4.value = resultAd4.data[0];
  505. })
  506. //2.页面交互效果 end ---------------------------------------->
  507. //3.渲染页面数据 start ---------------------------------------->
  508. //3.1 该页面上所有的导航池 转为动态数据
  509. const pageCategory = ref([]);
  510. //3.2 该页面上需要渲染的所有数据
  511. const pageData = ref([
  512. // { id: 0, data: [], data2: [], title: "", cid: "" },
  513. // { id: 1, data: [], title: "", cid: "" },
  514. // { id: 2, data: [], title: "", cid: "" },
  515. // { id: 3, data: [], title: "", cid: "" },
  516. // { id: 4, data: [], title: "", cid: "" },
  517. // { id: 5, data: [], title: "", cid: "" },
  518. // { id: 6, data: [], title: "", cid: "" },
  519. // { id: 7, data: [], title: "", cid: "" },
  520. // { id: 8, data: [], title: "", cid: "" },
  521. ])
  522. const navSize = ref("");
  523. //3.3 获取所有导航
  524. try {
  525. const navigateData = await requestDataPromise('/web/getWebsiteModelCategory', {
  526. method: 'GET',
  527. query: {
  528. 'placeid': 1,
  529. 'pid': routeId,
  530. 'num': 8
  531. },
  532. });
  533. if (navigateData.code == 200) {
  534. // 遍历可用的导航池放到页面中
  535. for (let index in navigateData.data) {
  536. let data = {
  537. title: navigateData.data[index].name,
  538. cid: navigateData.data[index].category_id,
  539. children_count: navigateData.data[index].children_count,
  540. alias: navigateData.data[index].alias,
  541. aLIas_pinyin: targetSegment + "/" + navigateData.data[index].aLIas_pinyin,
  542. data: [],
  543. data1: [],
  544. data2: [],
  545. data3: [],
  546. data4: [],
  547. category_id1: "",
  548. category_id2: "",
  549. category_id3: "",
  550. category_id4: "",
  551. title1: "",
  552. title2: "",
  553. title3: "",
  554. title4: ""
  555. };
  556. if (navigateData.data[index].is_url == 1) {
  557. // 处理 URL 的逻辑
  558. } else {
  559. //每个页面最多8个模块
  560. pageData.value.push(data);
  561. }
  562. }
  563. //导航池加载完毕,开始申请模块数据
  564. // await getPageData1();
  565. // await getPageData2();
  566. // await getPageData3();
  567. // await getPageData4();
  568. // await getPageData5();
  569. // await getPageData6();
  570. // await getPageData7();
  571. // await getPageData8();
  572. let getJson = [
  573. { "parent": routeId + ",0,0", "child": pageData.value[0].cid + ",3,10" },//模块1理论前沿
  574. { "parent": routeId + ",0,0", "child": pageData.value[1].cid + ",2,6" },//模块2典型经验
  575. { "parent": routeId + ",0,0", "child": pageData.value[2].cid + ",3,10" },//模块3农业天地
  576. { "parent": routeId + ",0,0", "child": pageData.value[3].cid + ",2,6" },//模块4美丽乡村
  577. { "parent": routeId + ",0,0", "child": pageData.value[4].cid + ",1,10" },//模块5农民之家
  578. { "parent": routeId + ",0,0", "child": pageData.value[5].cid + ",3,10" },//模块6农业天地
  579. { "parent": routeId + ",0,0", "child": pageData.value[6].cid + ",3,10" },//模块7农村建设
  580. { "parent": routeId + ",0,0", "child": pageData.value[7].cid + ",3,13" },//模块8高端资讯
  581. ]
  582. let jsonString = JSON.stringify(getJson);
  583. getPageAllData(jsonString);
  584. } else {
  585. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  586. console.log("错误位置:分类页导航池")
  587. console.log("后端错误反馈:", navigateData.message)
  588. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  589. }
  590. } catch (error) {
  591. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  592. console.log("错误位置:分类页导航渲染阶段")
  593. console.log("错误:导航池渲染执行接口出错!请检查首页的14的模块的具体执行方法!")
  594. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  595. }
  596. async function getPageAllData(jsonString) {
  597. const mkdata = await requestDataPromise('/web/getWebsiteAllArticle', {
  598. method: 'GET',
  599. query: {
  600. 'id': jsonString
  601. },
  602. });
  603. if (mkdata.code == 200) {
  604. console.log(778899)
  605. console.log(mkdata.data)
  606. //模块1理论前沿
  607. if (mkdata.data[0].child.imgnum.length > 0) {
  608. pageData.value[0].data.push(mkdata.data[0].child.imgnum[0]);
  609. }
  610. if (mkdata.data[0].child.imgnum.length > 1) {
  611. pageData.value[0].data1.push(mkdata.data[0].child.imgnum[1]);
  612. }
  613. if (mkdata.data[0].child.imgnum.length > 2) {
  614. pageData.value[0].data1.push(mkdata.data[0].child.imgnum[2]);
  615. }
  616. pageData.value[0].data2 = mkdata.data[0].child.textnum;
  617. //模块2典型经验
  618. pageData.value[1].data = mkdata.data[1].child.imgnum;
  619. pageData.value[1].data1 = mkdata.data[1].child.textnum;
  620. //模块3农业天地
  621. if (mkdata.data[2].child.imgnum.length > 0) {
  622. pageData.value[2].data.push(mkdata.data[2].child.imgnum[0]);
  623. }
  624. if (mkdata.data[2].child.imgnum.length > 1) {
  625. pageData.value[2].data1.push(mkdata.data[2].child.imgnum[1]);
  626. }
  627. if (mkdata.data[2].child.imgnum.length > 2) {
  628. pageData.value[2].data1.push(mkdata.data[2].child.imgnum[2]);
  629. }
  630. pageData.value[2].data2 = mkdata.data[2].child.textnum;
  631. //模块4美丽乡村
  632. pageData.value[3].data = mkdata.data[3].child.imgnum;
  633. pageData.value[3].data2 = mkdata.data[3].child.textnum;
  634. //模块5农民之家
  635. pageData.value[4].data = mkdata.data[4].child.imgnum;
  636. for (let i in mkdata.data[4].child.textnum) {
  637. if (i < 5) {
  638. pageData.value[4].data1.push(mkdata.data[4].child.textnum[i]);
  639. } else {
  640. pageData.value[4].data2.push(mkdata.data[4].child.textnum[i]);
  641. }
  642. }
  643. //模块6农业天地
  644. if (mkdata.data[5].child.imgnum.length > 0) {
  645. pageData.value[5].data.push(mkdata.data[5].child.imgnum[0]);
  646. }
  647. if (mkdata.data[5].child.imgnum.length > 1) {
  648. pageData.value[5].data1.push(mkdata.data[5].child.imgnum[1]);
  649. }
  650. if (mkdata.data[5].child.imgnum.length > 2) {
  651. pageData.value[5].data1.push(mkdata.data[5].child.imgnum[2]);
  652. }
  653. pageData.value[5].data2 = mkdata.data[5].child.textnum;
  654. //模块7农村建设
  655. if (mkdata.data[6].child.imgnum.length > 0) {
  656. pageData.value[6].data.push(mkdata.data[6].child.imgnum[0]);
  657. }
  658. if (mkdata.data[6].child.imgnum.length > 1) {
  659. pageData.value[6].data1.push(mkdata.data[6].child.imgnum[1]);
  660. }
  661. if (mkdata.data[6].child.imgnum.length > 2) {
  662. pageData.value[6].data1.push(mkdata.data[6].child.imgnum[2]);
  663. }
  664. pageData.value[6].data2 = mkdata.data[6].child.textnum;
  665. //模块8高端资讯
  666. pageData.value[7].data2 = mkdata.data[7].child.imgnum;
  667. for (let i in mkdata.data[4].child.textnum) {
  668. if (i < 7) {
  669. pageData.value[7].data1.push(mkdata.data[4].child.textnum[i]);
  670. } else if (i < 9) {
  671. pageData.value[7].data2.push(mkdata.data[4].child.textnum[i]);
  672. } else if (i < 11) {
  673. pageData.value[7].data3.push(mkdata.data[4].child.textnum[i]);
  674. } else {
  675. pageData.value[7].data4.push(mkdata.data[4].child.textnum[i]);
  676. }
  677. }
  678. } else {
  679. ElMessage.error(mkdata.message)
  680. }
  681. }
  682. //获得模块数据
  683. // async function getPageData(catid, img_num, text_num, modulesNum, childNavNum, childImgNum, childTextNum) {
  684. // const mkdata = await requestDataPromise('/web/getWebsiteCatidArticle', {
  685. // method: 'GET',
  686. // query: {
  687. // 'catid': catid, //catid
  688. // 'img_num': img_num, //图片数量
  689. // 'text_num': text_num, //文字数量
  690. // 'child_catnum': childNavNum,//子级栏目菜单数量
  691. // 'child_imgnum': childImgNum,//子栏目展示图片新闻数量
  692. // 'child_textnum': childTextNum//子栏目展示文字新闻数量
  693. // },
  694. // });
  695. // if (modulesNum == 1) {
  696. // for (let i in mkdata.data.img) {
  697. // if (i < 1) {
  698. // pageData.value[0].data.push(mkdata.data.img[i]);
  699. // } else {
  700. // pageData.value[0].data1.push(mkdata.data.img[i]);
  701. // }
  702. // }
  703. // pageData.value[0].data2 = mkdata.data.text;
  704. // }
  705. // if (modulesNum == 2) {
  706. // pageData.value[1].data = mkdata.data.img;
  707. // pageData.value[1].data1 = mkdata.data.text;
  708. // }
  709. // if (modulesNum == 3) {
  710. // for (let i in mkdata.data.img) {
  711. // if (i < 1) {
  712. // pageData.value[2].data.push(mkdata.data.img[i]);
  713. // } else {
  714. // pageData.value[2].data1.push(mkdata.data.img[i]);
  715. // }
  716. // }
  717. // pageData.value[2].data2 = mkdata.data.text;
  718. // }
  719. // if (modulesNum == 4) {
  720. // pageData.value[3].data = mkdata.data.img;
  721. // pageData.value[3].data2 = mkdata.data.text;
  722. // }
  723. // //模块5
  724. // if (modulesNum == 5) {
  725. // pageData.value[4].data = mkdata.data.img;
  726. // for (let i in mkdata.data.text) {
  727. // if (i < 5) {
  728. // pageData.value[4].data1.push(mkdata.data.text[i]);
  729. // } else {
  730. // pageData.value[4].data2.push(mkdata.data.text[i]);
  731. // }
  732. // }
  733. // }
  734. // if (modulesNum == 6) {
  735. // for (let i in mkdata.data.img) {
  736. // if (i < 1) {
  737. // pageData.value[5].data.push(mkdata.data.img[i]);
  738. // } else {
  739. // pageData.value[5].data1.push(mkdata.data.img[i]);
  740. // }
  741. // }
  742. // pageData.value[5].data2 = mkdata.data.text;
  743. // }
  744. // if (modulesNum == 7) {
  745. // for (let i in mkdata.data.img) {
  746. // if (i < 1) {
  747. // pageData.value[6].data.push(mkdata.data.img[i]);
  748. // } else {
  749. // pageData.value[6].data1.push(mkdata.data.img[i]);
  750. // }
  751. // }
  752. // pageData.value[6].data2 = mkdata.data.text;
  753. // }
  754. // //模块8
  755. // if (modulesNum == 8) {
  756. // pageData.value[7].data = mkdata.data.img;
  757. // for (let i in mkdata.data.text) {
  758. // if (i < 7) {
  759. // pageData.value[7].data1.push(mkdata.data.text[i]);
  760. // } else if (i < 9) {
  761. // pageData.value[7].data2.push(mkdata.data.text[i]);
  762. // } else if (i < 11) {
  763. // pageData.value[7].data3.push(mkdata.data.text[i]);
  764. // } else {
  765. // pageData.value[7].data4.push(mkdata.data.text[i]);
  766. // }
  767. // }
  768. // }
  769. // }
  770. //新农村
  771. //模块1 理论前沿
  772. // async function getPageData1() {
  773. // await getPageData(pageData.value[0].cid, 3, 10, 1, 0, 0, 0);
  774. // }
  775. // //模块2 典型经验
  776. // async function getPageData2() {
  777. // await getPageData(pageData.value[1].cid, 2, 6, 2, 0, 0, 0);
  778. // }
  779. // //模块3 农业天地
  780. // async function getPageData3() {
  781. // await getPageData(pageData.value[2].cid, 3, 10, 3, 0, 0, 0);
  782. // }
  783. // //模块4 美丽乡村
  784. // async function getPageData4() {
  785. // await getPageData(pageData.value[3].cid, 2, 6, 4, 0, 0, 0);
  786. // }
  787. // //模块5 农民之家
  788. // async function getPageData5() {
  789. // await getPageData(pageData.value[4].cid, 1, 10, 5, 0, 0, 0);
  790. // }
  791. // //模块6 农业天地
  792. // async function getPageData6() {
  793. // await getPageData(pageData.value[5].cid, 3, 10, 6, 0, 0, 0);
  794. // }
  795. // //模块7 农村建设
  796. // async function getPageData7() {
  797. // await getPageData(pageData.value[6].cid, 3, 10, 7, 0, 0, 0);
  798. // }
  799. // //模块8 高端资讯
  800. // async function getPageData8() {
  801. // await getPageData(pageData.value[7].cid, 3, 13, 8, 0, 0, 0);
  802. // }
  803. // 注意,为了保持模块的数量,当前固定为8个
  804. // 所以这里的农业天地,合并了原来是下面的7号模块
  805. // 而原本是7号模块的地方现在变成了8号模块
  806. //3.渲染页面数据 end ---------------------------------------->
  807. //4.设置seo信息 start---------------------------------------->
  808. //4.1 设置seo信息
  809. const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {
  810. method: 'GET',
  811. query: {
  812. 'catid': routeId
  813. },
  814. });
  815. if (setData.code == 200) {
  816. let seoTitle = setData.data.seo_title;
  817. let seoDescription = setData.data.seo_description;
  818. let seoKeywords = setData.data.seo_keywords;
  819. let seoSuffix = setData.data.suffix;
  820. let seoName = setData.data.website_name;
  821. useSeoMeta({
  822. title: seoTitle + "_" + seoSuffix,
  823. meta: [
  824. { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  825. { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
  826. ]
  827. });
  828. } else {
  829. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  830. console.log("错误位置:设置分类页面SEO数据")
  831. console.log("后端错误反馈:", setData.message)
  832. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  833. }
  834. //4.设置seo信息 end---------------------------------------->
  835. //5. 获取日期中单独的年 月 日 start--------------------------->
  836. function getTime(date, part, digits) {
  837. const d = new Date(date);
  838. if (part === 'year') {
  839. let year = d.getFullYear();
  840. if (digits === 2) {
  841. return String(year).slice(-2);
  842. }
  843. return year;
  844. } else if (part === 'month') {
  845. let month = d.getMonth() + 1;
  846. if (digits === 2) {
  847. return String(month).padStart(2, '0');
  848. }
  849. if (month < 10) {
  850. month = '0' + month;
  851. } else {
  852. month = month;
  853. }
  854. return month;
  855. } else if (part === 'day') {
  856. let day = d.getDate();
  857. if (digits === 2) {
  858. return String(day).padStart(2, '0');
  859. }
  860. return day;
  861. }
  862. return null;
  863. }
  864. //5. 获取日期中单独的年 月 日 end------------------------------>
  865. </script>
  866. <style lang="less" scoped>
  867. // 一级标题
  868. .nav1 {
  869. width: 100%;
  870. height: 214px;
  871. background: #fff;
  872. .inner {
  873. width: 1200px;
  874. height: 214px;
  875. margin: 0 auto;
  876. .nav1_title {
  877. width: 1120px;
  878. height: 214px;
  879. margin-left: 40px;
  880. line-height: 217px;
  881. text-align: center;
  882. font-family: DingTalk JinBuTi, DingTalk JinBuTi;
  883. font-weight: 400;
  884. font-size: 50px;
  885. color: #6D2512;
  886. background: url(/_nuxt/public/index/title_bg.png) no-repeat 0;
  887. }
  888. }
  889. }
  890. .nav2top {
  891. width: 1250px;
  892. height: 3px;
  893. margin: 0 auto;
  894. background-color: #a01c0e;
  895. }
  896. .nav2btm {
  897. width: 1200px;
  898. height: 3px;
  899. margin: 0 auto;
  900. background-color: #a01c0e;
  901. }
  902. .nav2 {
  903. width: 100%;
  904. height: 48px;
  905. background-color: #a01c0e;
  906. .inner {
  907. width: 1250px;
  908. height: 48px;
  909. line-height: 48px;
  910. padding: 0 45px;
  911. margin: 0 auto;
  912. box-sizing: border-box;
  913. display: flex;
  914. // justify-content: space-between;
  915. .titleList {
  916. font-family: Microsoft YaHei, Microsoft YaHei;
  917. font-weight: bold;
  918. font-size: 14px;
  919. color: #FFFFFF;
  920. .nav2_title {
  921. display: inline-block;
  922. font-family: Microsoft YaHei, Microsoft YaHei;
  923. font-weight: bold;
  924. font-size: 14px;
  925. color: #FFFFFF;
  926. }
  927. a {
  928. padding: 0 38px;
  929. color: #FFFFFF;
  930. border-left: 1px solid #7E1C11;
  931. }
  932. //鼠标点击后的样式
  933. .nav2_title_active {
  934. display: inline-block;
  935. font-family: Microsoft YaHei, Microsoft YaHei;
  936. font-weight: bold;
  937. font-size: 14px;
  938. color: #FFFFFF;
  939. border-bottom: 1px solid #FFFFFF;
  940. }
  941. }
  942. .titleList:hover {
  943. a {
  944. color: #a01c0e;
  945. .nav2_title {
  946. border-bottom: 1px solid #FFFFFF;
  947. }
  948. }
  949. }
  950. .home {
  951. width: 100px;
  952. font-family: Microsoft YaHei, Microsoft YaHei;
  953. font-weight: bold;
  954. font-size: 14px;
  955. color: #F8ECD2;
  956. }
  957. }
  958. }
  959. //第一部分
  960. .part1 {
  961. width: 100%;
  962. height: 585px;
  963. margin-top: 35px;
  964. .inner {
  965. width: 1200px;
  966. margin: 0 auto;
  967. .part1_left {
  968. float: left;
  969. width: 720px;
  970. .part1_title {
  971. width: 720px;
  972. height: 50px;
  973. line-height: 50px;
  974. .nav_part1_left {
  975. float: left;
  976. font-family: Microsoft YaHei, Microsoft YaHei;
  977. font-weight: 400;
  978. font-size: 20px;
  979. color: #333333;
  980. position: relative;
  981. a {
  982. color: #333333;
  983. }
  984. em {
  985. display: inline-block;
  986. width: 8px;
  987. height: 8px;
  988. background-color: #a01c0e;
  989. border-radius: 4px;
  990. position: absolute;
  991. top: 5px;
  992. }
  993. }
  994. }
  995. .part1_content {
  996. width: 720px;
  997. margin-top: 20px;
  998. .context_left {
  999. float: left;
  1000. width: 350px;
  1001. .top {
  1002. width: 350px;
  1003. img {
  1004. width: 350px;
  1005. height: 230px;
  1006. }
  1007. a .title1 {
  1008. margin-top: 15px;
  1009. width: 350px;
  1010. height: 48px;
  1011. display: -webkit-box;
  1012. -webkit-box-orient: vertical;
  1013. -webkit-line-clamp: 2;
  1014. overflow: hidden;
  1015. text-overflow: ellipsis;
  1016. word-break: break-all;
  1017. font-family: Microsoft YaHei, Microsoft YaHei;
  1018. font-weight: bold;
  1019. font-size: 18px;
  1020. color: #333333;
  1021. }
  1022. }
  1023. .top:hover {
  1024. a .title1 {
  1025. color: #a01c0e;
  1026. }
  1027. }
  1028. .bottom {
  1029. width: 350px;
  1030. margin-top: 25px;
  1031. .bottom_left {
  1032. float: left;
  1033. width: 165px;
  1034. img {
  1035. width: 165px;
  1036. height: 96px;
  1037. }
  1038. a .title2 {
  1039. margin-top: 10px;
  1040. width: 165px;
  1041. height: 48px;
  1042. display: -webkit-box;
  1043. -webkit-box-orient: vertical;
  1044. -webkit-line-clamp: 2;
  1045. overflow: hidden;
  1046. text-overflow: ellipsis;
  1047. word-break: break-all;
  1048. font-family: Microsoft YaHei, Microsoft YaHei;
  1049. font-weight: 400;
  1050. font-size: 18px;
  1051. color: #333333;
  1052. }
  1053. }
  1054. .bottom_left:first-child {
  1055. margin-right: 20px;
  1056. }
  1057. }
  1058. .bottom_left:hover {
  1059. a .title2 {
  1060. color: #a01c0e;
  1061. }
  1062. }
  1063. }
  1064. .context_right {
  1065. float: right;
  1066. width: 350px;
  1067. .rightContent {
  1068. width: 350px;
  1069. height: 230px;
  1070. .context1:nth-child(5n+1) {
  1071. width: 345px;
  1072. white-space: nowrap;
  1073. overflow: hidden;
  1074. text-overflow: ellipsis;
  1075. font-family: Microsoft YaHei, Microsoft YaHei;
  1076. font-weight: bold;
  1077. font-size: 18px;
  1078. color: #333333;
  1079. a {
  1080. color: #333333;
  1081. }
  1082. }
  1083. .context1:nth-child(5n+1):hover a {
  1084. color: #a01c0e;
  1085. }
  1086. .context1 {
  1087. margin-bottom: 27px;
  1088. width: 345px;
  1089. white-space: nowrap;
  1090. overflow: hidden;
  1091. text-overflow: ellipsis;
  1092. font-family: Microsoft YaHei, Microsoft YaHei;
  1093. font-weight: 400;
  1094. font-size: 18px;
  1095. color: #333333;
  1096. a {
  1097. color: #333333;
  1098. }
  1099. }
  1100. .context1:hover a {
  1101. color: #a01c0e;
  1102. }
  1103. }
  1104. }
  1105. }
  1106. }
  1107. .part1_right {
  1108. float: right;
  1109. width: 450px;
  1110. // height: 1000px;
  1111. .part1_right_title {
  1112. width: 450px;
  1113. height: 50px;
  1114. line-height: 50px;
  1115. .part1_right_title1_active {
  1116. float: left;
  1117. margin-right: 40px;
  1118. font-family: Microsoft YaHei, Microsoft YaHei;
  1119. font-weight: 400;
  1120. font-size: 20px;
  1121. color: #333333;
  1122. position: relative;
  1123. a {
  1124. color: #333333;
  1125. }
  1126. .active_bg {
  1127. display: inline-block;
  1128. width: 8px;
  1129. height: 8px;
  1130. background-color: #a01c0e;
  1131. border-radius: 4px;
  1132. position: absolute;
  1133. top: 7px;
  1134. right: -5px;
  1135. }
  1136. }
  1137. .part1_right_title1 {
  1138. float: left;
  1139. margin-right: 40px;
  1140. font-family: Microsoft YaHei, Microsoft YaHei;
  1141. font-weight: 400;
  1142. font-size: 20px;
  1143. color: #999999;
  1144. position: relative;
  1145. a {
  1146. color: #999999;
  1147. }
  1148. }
  1149. }
  1150. .part1_right_content {
  1151. width: 450px;
  1152. // height: 940px;
  1153. margin-top: 20px;
  1154. .part1_right_top11 {
  1155. width: 450px;
  1156. height: 180px;
  1157. position: relative;
  1158. .part1_right_content_top {
  1159. float: left;
  1160. width: 220px;
  1161. height: 180px;
  1162. a img {
  1163. width: 220px;
  1164. height: 130px;
  1165. }
  1166. a .content_top_title2 {
  1167. display: inline-block;
  1168. width: 220px;
  1169. padding: 0 10px;
  1170. box-sizing: border-box;
  1171. white-space: nowrap;
  1172. overflow: hidden;
  1173. text-overflow: ellipsis;
  1174. font-family: Microsoft YaHei, Microsoft YaHei;
  1175. font-weight: 400;
  1176. font-size: 18px;
  1177. color: #333333;
  1178. margin-top: 10px;
  1179. }
  1180. }
  1181. .part1_right_content_top:hover {
  1182. a .content_top_title2 {
  1183. color: #a01c0e;
  1184. }
  1185. }
  1186. .part1_right_content_top:nth-child(2) {
  1187. margin-left: 10px;
  1188. }
  1189. }
  1190. .part1_right_content_bottom {
  1191. width: 450px;
  1192. height: 300px;
  1193. margin-top: 15px;
  1194. overflow: hidden;
  1195. .content_bottom_list {
  1196. width: 450px;
  1197. height: 22px;
  1198. line-height: 21px;
  1199. white-space: nowrap;
  1200. overflow: hidden;
  1201. text-overflow: ellipsis;
  1202. margin-bottom: 28px;
  1203. font-family: Microsoft YaHei, Microsoft YaHei;
  1204. font-weight: 400;
  1205. font-size: 18px;
  1206. color: #333333;
  1207. a {
  1208. color: #333333;
  1209. }
  1210. }
  1211. .content_bottom_list:hover {
  1212. a {
  1213. color: #a01c0e;
  1214. }
  1215. }
  1216. }
  1217. }
  1218. }
  1219. }
  1220. }
  1221. //第二部分
  1222. .part2 {
  1223. width: 100%;
  1224. overflow: hidden;
  1225. // margin-bottom: 40px;
  1226. .inner {
  1227. width: 1200px;
  1228. margin: 0 auto;
  1229. .part2_left {
  1230. float: left;
  1231. width: 720px;
  1232. .part2_title {
  1233. width: 720px;
  1234. height: 50px;
  1235. line-height: 50px;
  1236. .nav_part2_left {
  1237. float: left;
  1238. width: 100px;
  1239. font-family: Microsoft YaHei, Microsoft YaHei;
  1240. font-weight: 400;
  1241. font-size: 20px;
  1242. color: #333333;
  1243. position: relative;
  1244. a {
  1245. color: #333333;
  1246. }
  1247. em {
  1248. display: inline-block;
  1249. width: 8px;
  1250. height: 8px;
  1251. background-color: #a01c0e;
  1252. border-radius: 4px;
  1253. position: absolute;
  1254. top: 9px;
  1255. right: 6px;
  1256. }
  1257. }
  1258. }
  1259. .part2_content {
  1260. width: 720px;
  1261. margin-top: 20px;
  1262. .part2_content_left {
  1263. float: left;
  1264. width: 350px;
  1265. .content_a {
  1266. width: 350px;
  1267. height: 230px;
  1268. // margin-bottom: 25px;
  1269. .context111:nth-child(5n+1) {
  1270. width: 345px;
  1271. white-space: nowrap;
  1272. overflow: hidden;
  1273. text-overflow: ellipsis;
  1274. font-family: Microsoft YaHei, Microsoft YaHei;
  1275. font-weight: bold;
  1276. font-size: 18px;
  1277. color: #333333;
  1278. a {
  1279. color: #333333;
  1280. }
  1281. }
  1282. .context111 {
  1283. margin-bottom: 27px;
  1284. width: 345px;
  1285. white-space: nowrap;
  1286. overflow: hidden;
  1287. text-overflow: ellipsis;
  1288. font-family: Microsoft YaHei, Microsoft YaHei;
  1289. font-weight: 400;
  1290. font-size: 18px;
  1291. color: #333333;
  1292. a {
  1293. color: #333333;
  1294. }
  1295. }
  1296. .context111:hover a {
  1297. color: #a01c0e;
  1298. }
  1299. }
  1300. }
  1301. .part2_content_right {
  1302. float: right;
  1303. width: 350px;
  1304. height: 480px;
  1305. .right_top {
  1306. width: 350px;
  1307. height: 300px;
  1308. a img {
  1309. width: 350px;
  1310. height: 230px;
  1311. }
  1312. a .title11 {
  1313. margin-top: 15px;
  1314. width: 350px;
  1315. height: 48px;
  1316. display: -webkit-box;
  1317. -webkit-box-orient: vertical;
  1318. -webkit-line-clamp: 2;
  1319. overflow: hidden;
  1320. text-overflow: ellipsis;
  1321. word-break: break-all;
  1322. font-family: Microsoft YaHei, Microsoft YaHei;
  1323. font-weight: bold;
  1324. font-size: 18px;
  1325. color: #333333;
  1326. }
  1327. }
  1328. .right_top:hover {
  1329. color: #a01c0e;
  1330. a .title11 {
  1331. color: #a01c0e;
  1332. }
  1333. }
  1334. .right_bottom {
  1335. width: 350px;
  1336. height: 165px;
  1337. margin-top: 20px;
  1338. .bottom_left {
  1339. float: left;
  1340. width: 165px;
  1341. height: 130px;
  1342. a img {
  1343. width: 165px;
  1344. height: 96px;
  1345. }
  1346. a .title22 {
  1347. margin-top: 10px;
  1348. width: 165px;
  1349. height: 48px;
  1350. display: -webkit-box;
  1351. -webkit-box-orient: vertical;
  1352. -webkit-line-clamp: 2;
  1353. overflow: hidden;
  1354. text-overflow: ellipsis;
  1355. word-break: break-all;
  1356. font-family: Microsoft YaHei, Microsoft YaHei;
  1357. font-weight: 400;
  1358. font-size: 18px;
  1359. color: #333333;
  1360. }
  1361. }
  1362. .bottom_left:hover {
  1363. color: #a01c0e;
  1364. a .title22 {
  1365. color: #a01c0e;
  1366. }
  1367. }
  1368. .bottom_left:first-child {
  1369. margin-right: 20px;
  1370. }
  1371. }
  1372. }
  1373. }
  1374. }
  1375. .part2_right {
  1376. float: right;
  1377. width: 450px;
  1378. // height: 1000px;
  1379. .part2_right_title {
  1380. width: 450px;
  1381. height: 50px;
  1382. line-height: 50px;
  1383. .part2_right_title1_active {
  1384. float: left;
  1385. margin-right: 40px;
  1386. font-family: Microsoft YaHei, Microsoft YaHei;
  1387. font-weight: 400;
  1388. font-size: 20px;
  1389. color: #333333;
  1390. position: relative;
  1391. a {
  1392. color: #333333;
  1393. }
  1394. .active_bg11 {
  1395. display: inline-block;
  1396. width: 8px;
  1397. height: 8px;
  1398. background-color: #a01c0e;
  1399. border-radius: 4px;
  1400. position: absolute;
  1401. top: 7px;
  1402. right: -5px;
  1403. }
  1404. }
  1405. .part2_right_title1 {
  1406. float: left;
  1407. margin-right: 40px;
  1408. font-family: Microsoft YaHei, Microsoft YaHei;
  1409. font-weight: 400;
  1410. font-size: 20px;
  1411. color: #999999;
  1412. position: relative;
  1413. a {
  1414. color: #999999;
  1415. }
  1416. }
  1417. }
  1418. .part2_right_content {
  1419. width: 450px;
  1420. margin-top: 20px;
  1421. .part2_right_top11 {
  1422. width: 450px;
  1423. height: 170px;
  1424. position: relative;
  1425. .part2_right_content_top {
  1426. float: left;
  1427. width: 220px;
  1428. height: 180px;
  1429. a img {
  1430. width: 220px;
  1431. height: 130px;
  1432. }
  1433. a .content_top_title22 {
  1434. display: inline-block;
  1435. width: 220px;
  1436. padding: 0 10px;
  1437. box-sizing: border-box;
  1438. white-space: nowrap;
  1439. overflow: hidden;
  1440. text-overflow: ellipsis;
  1441. font-family: Microsoft YaHei, Microsoft YaHei;
  1442. font-weight: 400;
  1443. font-size: 18px;
  1444. color: #333333;
  1445. margin-top: 10px;
  1446. }
  1447. }
  1448. .part2_right_content_top:hover {
  1449. a .content_top_title22 {
  1450. color: #a01c0e;
  1451. }
  1452. }
  1453. .part2_right_content_top:nth-child(2) {
  1454. margin-left: 10px;
  1455. }
  1456. }
  1457. .part2_right_content_bottom {
  1458. width: 450px;
  1459. height: 300px;
  1460. margin-top: 20px;
  1461. overflow: hidden;
  1462. .content_bottom_list {
  1463. width: 450px;
  1464. height: 22px;
  1465. line-height: 21px;
  1466. white-space: nowrap;
  1467. overflow: hidden;
  1468. text-overflow: ellipsis;
  1469. margin-bottom: 28px;
  1470. font-family: Microsoft YaHei, Microsoft YaHei;
  1471. font-weight: 400;
  1472. font-size: 18px;
  1473. color: #333333;
  1474. a {
  1475. color: #333333;
  1476. }
  1477. }
  1478. .content_bottom_list:hover {
  1479. a {
  1480. color: #a01c0e;
  1481. }
  1482. }
  1483. }
  1484. }
  1485. }
  1486. }
  1487. }
  1488. //第三部分
  1489. .part3 {
  1490. width: 100%;
  1491. overflow: hidden;
  1492. // height: 1200px;
  1493. margin-top: 35px;
  1494. margin-bottom: 40px;
  1495. .inner {
  1496. width: 1200px;
  1497. height: 1200px;
  1498. background-color: #fff;
  1499. .part3_left {
  1500. float: left;
  1501. .part3_left_top {
  1502. width: 720px;
  1503. overflow: hidden;
  1504. .part3_leftTitle {
  1505. width: 720px;
  1506. height: 50px;
  1507. line-height: 50px;
  1508. .part3_left_title:first-child {
  1509. float: left;
  1510. margin-right: 20px;
  1511. width: 100px;
  1512. height: 50px;
  1513. line-height: 50px;
  1514. position: relative;
  1515. font-family: Microsoft YaHei, Microsoft YaHei;
  1516. font-weight: 400;
  1517. font-size: 20px;
  1518. color: #333333;
  1519. a {
  1520. color: #333333;
  1521. }
  1522. em {
  1523. display: inline-block;
  1524. width: 8px;
  1525. height: 8px;
  1526. background-color: #a01c0e;
  1527. border-radius: 4px;
  1528. position: absolute;
  1529. top: 9px;
  1530. right: 6px;
  1531. }
  1532. }
  1533. .part3_left_title {
  1534. float: left;
  1535. margin-right: 20px;
  1536. width: 100px;
  1537. height: 50px;
  1538. line-height: 50px;
  1539. position: relative;
  1540. font-family: Microsoft YaHei, Microsoft YaHei;
  1541. font-weight: 400;
  1542. font-size: 20px;
  1543. color: #999999;
  1544. a {
  1545. color: #999999;
  1546. }
  1547. // em{
  1548. // display: inline-block;
  1549. // width: 8px;
  1550. // height: 8px;
  1551. // background-color: #a01c0e;
  1552. // border-radius: 4px;
  1553. // position: absolute;
  1554. // top: 9px;
  1555. // right: 6px;
  1556. // }
  1557. }
  1558. }
  1559. .part3_left_content {
  1560. width: 720px;
  1561. margin-top: 20px;
  1562. .part3_left_content_top {
  1563. .content_top_left {
  1564. float: left;
  1565. width: 350px;
  1566. height: 484px;
  1567. .part3_photo_text {
  1568. width: 350px;
  1569. height: 280px;
  1570. position: relative;
  1571. img {
  1572. width: 350px;
  1573. height: 230px;
  1574. }
  1575. .littleTips {
  1576. display: inline-block;
  1577. width: 50px;
  1578. height: 26px;
  1579. line-height: 26px;
  1580. text-align: center;
  1581. background-color: #a01c0e;
  1582. font-family: Microsoft YaHei, Microsoft YaHei;
  1583. font-weight: 400;
  1584. font-size: 16px;
  1585. color: #fff;
  1586. position: absolute;
  1587. top: 0;
  1588. right: 10px;
  1589. }
  1590. .part3_text {
  1591. display: inline-block;
  1592. width: 350px;
  1593. height: 26px;
  1594. white-space: nowrap;
  1595. overflow: hidden;
  1596. text-overflow: ellipsis;
  1597. font-family: Microsoft YaHei, Microsoft YaHei;
  1598. font-weight: bold;
  1599. font-size: 18px;
  1600. color: #333333;
  1601. margin-top: 15px;
  1602. }
  1603. }
  1604. .part3_photo_text:hover {
  1605. .part3_text {
  1606. color: #a01c0e;
  1607. }
  1608. }
  1609. .part3_content {
  1610. width: 350px;
  1611. .part3_content_list:first-child {
  1612. width: 350px;
  1613. height: 25px;
  1614. white-space: nowrap;
  1615. overflow: hidden;
  1616. text-overflow: ellipsis;
  1617. font-family: Microsoft YaHei, Microsoft YaHei;
  1618. font-weight: bold;
  1619. font-size: 18px;
  1620. color: #333333;
  1621. line-height: 22px;
  1622. margin-top: 35px;
  1623. a {
  1624. color: #333333;
  1625. }
  1626. }
  1627. .part3_content_list:first-child:hover {
  1628. a {
  1629. color: #a01c0e;
  1630. }
  1631. }
  1632. .part3_content_list:last-child {
  1633. margin-bottom: 0;
  1634. }
  1635. .part3_content_list {
  1636. width: 350px;
  1637. height: 25px;
  1638. white-space: nowrap;
  1639. overflow: hidden;
  1640. text-overflow: ellipsis;
  1641. font-family: Microsoft YaHei, Microsoft YaHei;
  1642. font-weight: 400;
  1643. font-size: 18px;
  1644. color: #333333;
  1645. line-height: 22px;
  1646. margin-bottom: 27px;
  1647. a {
  1648. color: #333333;
  1649. }
  1650. }
  1651. .part3_content_list:hover {
  1652. a {
  1653. color: #a01c0e;
  1654. }
  1655. }
  1656. }
  1657. }
  1658. .content_top_right {
  1659. float: left;
  1660. width: 350px;
  1661. height: 542px;
  1662. border: 1px solid #D9D9D9;
  1663. margin-left: 20px;
  1664. padding: 30px 25px;
  1665. box-sizing: border-box;
  1666. .content_right_list {
  1667. width: 350px;
  1668. height: 58px;
  1669. line-height: 58px;
  1670. margin-bottom: 48px;
  1671. .part3_time {
  1672. float: left;
  1673. width: 77px;
  1674. height: 58px;
  1675. color: #a01c0e;
  1676. .month {
  1677. font-family: Microsoft YaHei, Microsoft YaHei;
  1678. font-weight: 400;
  1679. font-size: 26px;
  1680. color: #A01C0E;
  1681. line-height: 30px;
  1682. }
  1683. .xiegang {
  1684. font-size: 22px;
  1685. font-weight: 400;
  1686. }
  1687. .day {
  1688. font-family: Microsoft YaHei, Microsoft YaHei;
  1689. font-weight: 400;
  1690. font-size: 16px;
  1691. color: #A01C0E;
  1692. line-height: 19px;
  1693. }
  1694. }
  1695. .time_left_content {
  1696. float: left;
  1697. width: 231px;
  1698. height: 58px;
  1699. display: -webkit-box;
  1700. -webkit-box-orient: vertical;
  1701. -webkit-line-clamp: 2;
  1702. overflow: hidden;
  1703. text-overflow: ellipsis;
  1704. word-break: break-all;
  1705. line-height: 22px;
  1706. padding-top: 12px;
  1707. box-sizing: border-box;
  1708. font-family: Microsoft YaHei, Microsoft YaHei;
  1709. font-weight: 400;
  1710. font-size: 18px;
  1711. color: #333333;
  1712. border-left: 1px solid #D9D9D9;
  1713. padding-left: 22px;
  1714. a {
  1715. color: #333333;
  1716. }
  1717. a:hover {
  1718. color: #a01c0e;
  1719. }
  1720. }
  1721. }
  1722. .content_right_list:hover {
  1723. .time_left_content {
  1724. color: #a01c0e;
  1725. }
  1726. }
  1727. }
  1728. }
  1729. }
  1730. }
  1731. .part3_left_bottom {
  1732. width: 720px;
  1733. margin-top: 25px;
  1734. .part3_leftTitle1 {
  1735. width: 720px;
  1736. height: 50px;
  1737. line-height: 50px;
  1738. margin-bottom: 25px;
  1739. .part3_left_title_active {
  1740. float: left;
  1741. margin-right: 20px;
  1742. width: 100px;
  1743. height: 50px;
  1744. line-height: 50px;
  1745. position: relative;
  1746. font-family: Microsoft YaHei, Microsoft YaHei;
  1747. font-weight: 400;
  1748. font-size: 20px;
  1749. color: #333333;
  1750. a.active {
  1751. color: #333333;
  1752. }
  1753. em {
  1754. display: inline-block;
  1755. width: 8px;
  1756. height: 8px;
  1757. background-color: #a01c0e;
  1758. border-radius: 4px;
  1759. position: absolute;
  1760. top: 9px;
  1761. right: 6px;
  1762. }
  1763. }
  1764. .part3_left_title {
  1765. float: left;
  1766. margin-right: 20px;
  1767. width: 100px;
  1768. height: 50px;
  1769. line-height: 50px;
  1770. position: relative;
  1771. font-family: Microsoft YaHei, Microsoft YaHei;
  1772. font-weight: 400;
  1773. font-size: 20px;
  1774. color: #999999;
  1775. a {
  1776. color: #999999;
  1777. }
  1778. // em{
  1779. // display: inline-block;
  1780. // width: 8px;
  1781. // height: 8px;
  1782. // background-color: #a01c0e;
  1783. // border-radius: 4px;
  1784. // position: absolute;
  1785. // top: 9px;
  1786. // right: 6px;
  1787. // }
  1788. }
  1789. }
  1790. .part3_left_content1 {
  1791. width: 720px;
  1792. .content_bottom_left {
  1793. float: left;
  1794. width: 350px;
  1795. // height: 350px;
  1796. .content_top {
  1797. width: 350px;
  1798. img {
  1799. width: 350px;
  1800. height: 230px;
  1801. }
  1802. .part3_text {
  1803. display: inline-block;
  1804. width: 350px;
  1805. height: 50px;
  1806. line-height: 22px;
  1807. display: -webkit-box;
  1808. -webkit-box-orient: vertical;
  1809. -webkit-line-clamp: 2;
  1810. overflow: hidden;
  1811. text-overflow: ellipsis;
  1812. word-break: break-all;
  1813. margin-top: 15px;
  1814. font-family: Microsoft YaHei, Microsoft YaHei;
  1815. font-weight: bold;
  1816. font-size: 18px;
  1817. color: #333333
  1818. }
  1819. }
  1820. .content_top:hover {
  1821. .part3_text {
  1822. color: #a01c0e;
  1823. }
  1824. }
  1825. .content_bottom {
  1826. width: 350px;
  1827. margin-top: 20px;
  1828. .content_bottom_1 {
  1829. float: left;
  1830. width: 165px;
  1831. img {
  1832. width: 165px;
  1833. height: 96px;
  1834. }
  1835. .part3_text {
  1836. display: inline-block;
  1837. width: 165px;
  1838. height: 44px;
  1839. line-height: 22px;
  1840. display: -webkit-box;
  1841. -webkit-box-orient: vertical;
  1842. -webkit-line-clamp: 2;
  1843. overflow: hidden;
  1844. text-overflow: ellipsis;
  1845. word-break: break-all;
  1846. font-family: Microsoft YaHei, Microsoft YaHei;
  1847. font-weight: 400;
  1848. font-size: 18px;
  1849. color: #333333;
  1850. margin-top: 10px;
  1851. }
  1852. }
  1853. .content_bottom_1:hover {
  1854. .part3_text {
  1855. color: #a01c0e;
  1856. }
  1857. }
  1858. .content_bottom_1:first-child {
  1859. margin-right: 20px;
  1860. }
  1861. }
  1862. }
  1863. .content_bottom_right {
  1864. float: left;
  1865. margin-left: 20px;
  1866. width: 350px;
  1867. .bottom_content_1 {
  1868. width: 350px;
  1869. .bottom_content_list:nth-child(5n+1) {
  1870. font-weight: bold;
  1871. }
  1872. .bottom_content_list {
  1873. width: 350px;
  1874. height: 25px;
  1875. white-space: nowrap;
  1876. overflow: hidden;
  1877. text-overflow: ellipsis;
  1878. font-family: Microsoft YaHei, Microsoft YaHei;
  1879. font-weight: 400;
  1880. font-size: 18px;
  1881. color: #333333;
  1882. line-height: 21px;
  1883. margin-bottom: 25px;
  1884. a {
  1885. color: #333333;
  1886. }
  1887. }
  1888. .bottom_content_list:hover {
  1889. a {
  1890. color: #a01c0e;
  1891. }
  1892. }
  1893. }
  1894. .bottom_content_1:first-child {
  1895. margin-bottom: 20px;
  1896. }
  1897. .bottom_content_1:last-child {
  1898. .bottom_content_list:last-child {
  1899. margin-bottom: 0;
  1900. }
  1901. }
  1902. }
  1903. }
  1904. }
  1905. }
  1906. .part3_right {
  1907. float: right;
  1908. width: 451px;
  1909. .part3_rightTitle {
  1910. width: 451px;
  1911. height: 50px;
  1912. line-height: 50px;
  1913. .part3_right_title:first-child {
  1914. float: left;
  1915. margin-right: 20px;
  1916. width: 100px;
  1917. height: 50px;
  1918. line-height: 50px;
  1919. position: relative;
  1920. font-family: Microsoft YaHei, Microsoft YaHei;
  1921. font-weight: 400;
  1922. font-size: 20px;
  1923. color: #333333;
  1924. a {
  1925. color: #333333;
  1926. }
  1927. em {
  1928. display: inline-block;
  1929. width: 8px;
  1930. height: 8px;
  1931. background-color: #a01c0e;
  1932. border-radius: 4px;
  1933. position: absolute;
  1934. top: 9px;
  1935. right: 6px;
  1936. }
  1937. }
  1938. .part3_right_title {
  1939. float: left;
  1940. margin-right: 20px;
  1941. width: 100px;
  1942. height: 50px;
  1943. line-height: 50px;
  1944. position: relative;
  1945. font-family: Microsoft YaHei, Microsoft YaHei;
  1946. font-weight: 400;
  1947. font-size: 20px;
  1948. color: #999999;
  1949. a {
  1950. color: #999999;
  1951. }
  1952. // em{
  1953. // display: inline-block;
  1954. // width: 8px;
  1955. // height: 8px;
  1956. // background-color: #a01c0e;
  1957. // border-radius: 4px;
  1958. // position: absolute;
  1959. // top: 9px;
  1960. // right: 6px;
  1961. // }
  1962. }
  1963. .rightMore {
  1964. float: right;
  1965. font-family: Microsoft YaHei, Microsoft YaHei;
  1966. font-weight: 400;
  1967. font-size: 12px;
  1968. color: #999999;
  1969. a {
  1970. color: #999999;
  1971. }
  1972. }
  1973. }
  1974. .part3_right_content_top {
  1975. width: 451px;
  1976. height: 325px;
  1977. position: relative;
  1978. margin-top: 20px;
  1979. .part3_right_contentlist_top {
  1980. font-family: Microsoft YaHei, Microsoft YaHei;
  1981. font-weight: 400;
  1982. font-size: 18px;
  1983. color: #333333;
  1984. width: 425px;
  1985. height: 25px;
  1986. white-space: nowrap;
  1987. overflow: hidden;
  1988. text-overflow: ellipsis;
  1989. margin-bottom: 25px;
  1990. a {
  1991. color: #333333;
  1992. }
  1993. .numStyle {
  1994. display: inline-block;
  1995. width: 22px;
  1996. height: 22px;
  1997. background-color: #f6f6f6;
  1998. text-align: center;
  1999. margin-right: 20px;
  2000. font-family: Protest Strike, Protest Strike;
  2001. font-weight: 400;
  2002. font-size: 16px;
  2003. color: #CCCCCC;
  2004. border-radius: 4px;
  2005. }
  2006. }
  2007. .part3_right_contentlist_top:hover {
  2008. color: #a01c0e;
  2009. a {
  2010. color: #a01c0e;
  2011. }
  2012. }
  2013. .part3_right_contentlist_top:nth-child(1) {
  2014. .numStyle {
  2015. background-color: #a01c0e;
  2016. color: #fff;
  2017. }
  2018. }
  2019. .part3_right_contentlist_top:nth-child(2) {
  2020. .numStyle {
  2021. background-color: #FFC62E;
  2022. color: #fff;
  2023. }
  2024. }
  2025. .part3_right_contentlist_top:nth-child(3) {
  2026. .numStyle {
  2027. background-color: #e98008;
  2028. color: #fff;
  2029. }
  2030. }
  2031. .part3_right_contentlist_top:last-child {
  2032. margin-bottom: 10px;
  2033. }
  2034. }
  2035. .part3_photo_text_right {
  2036. width: 451px;
  2037. height: 120px;
  2038. margin-top: 35px;
  2039. margin-bottom: 35px;
  2040. background-color: #f6f3f0;
  2041. .part3_text11 {
  2042. float: left;
  2043. width: 271px;
  2044. height: 96px;
  2045. display: -webkit-box;
  2046. -webkit-box-orient: vertical;
  2047. -webkit-line-clamp: 3;
  2048. overflow: hidden;
  2049. text-overflow: ellipsis;
  2050. word-break: break-all;
  2051. font-family: Microsoft YaHei, Microsoft YaHei;
  2052. font-weight: 400;
  2053. font-size: 18px;
  2054. color: #333333;
  2055. padding: 25px 20px;
  2056. box-sizing: border-box;
  2057. }
  2058. img {
  2059. float: left;
  2060. width: 180px;
  2061. height: 120px;
  2062. }
  2063. }
  2064. .part3_photo_text_right:hover {
  2065. color: #a01c0e;
  2066. .part3_text11 {
  2067. color: #a01c0e;
  2068. }
  2069. }
  2070. .part3_right_content_11 {
  2071. width: 451px;
  2072. height: 70px;
  2073. position: relative;
  2074. .part3_right_contentlist_11 {
  2075. width: 451px;
  2076. height: 25px;
  2077. white-space: nowrap;
  2078. overflow: hidden;
  2079. text-overflow: ellipsis;
  2080. font-family: Microsoft YaHei, Microsoft YaHei;
  2081. font-weight: 400;
  2082. font-size: 18px;
  2083. color: #333333;
  2084. line-height: 21px;
  2085. .erjibiaoti {
  2086. display: inline-block;
  2087. width: 87px;
  2088. height: 24px;
  2089. font-family: Microsoft YaHei, Microsoft YaHei;
  2090. font-weight: 400;
  2091. font-size: 18px;
  2092. color: #A01C0E;
  2093. border-right: #D3D5D8 1px solid;
  2094. margin-right: 10px;
  2095. }
  2096. a {
  2097. color: #333333;
  2098. }
  2099. }
  2100. .part3_right_contentlist_11:hover {
  2101. color: #a01c0e;
  2102. a {
  2103. color: #a01c0e;
  2104. }
  2105. }
  2106. .part3_right_contentlist_11:first-child {
  2107. margin-bottom: 25px;
  2108. }
  2109. }
  2110. }
  2111. }
  2112. }
  2113. </style>